package com.lebang.medicalInquiry.mapper;

import com.lebang.medicalInquiry.model.po.Physician;
import com.lebang.medicalInquiry.model.po.UserPhysicianAttention;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserPhysicianAttentionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserPhysicianAttention record);

    int insertSelective(UserPhysicianAttention record);

    UserPhysicianAttention selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserPhysicianAttention record);

    int updateByPrimaryKey(UserPhysicianAttention record);


    Integer countByUuidAndPhysicianId(@Param("uuid") String uuid,@Param("physicianId")  Integer physicianId);

    void deleteByUuidAndPhysicianId(@Param("uuid") String uuid,@Param("physicianId")  Integer physicianId);
}